<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>企业服务列表</title>


    <link href="${base}/resources/admin/css/amazeui.css" rel="stylesheet" type="text/css" /><link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
    <script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
    <script type="text/javascript" src="${base}/resources/admin/js/list.js"></script> <script type="text/javascript" src="${base}/resources/admin/js/amazeui.min.js"></script>
    <script type="text/javascript">
        $().ready(function() {

		[@flash_message /]

        });
    </script>
</head>
<body>
<div class="path">
    <a href="${base}/asl-admin/common/index.htm">${message("admin.path.index")}</a> &raquo; 企业服务列表 <span>(${message("admin.page.total", page.total)})</span>
</div>
<form id="listForm" action="list.htm" method="get">
    <div class="bar">
        <div class="buttonWrap">
            <a href="javascript:" id="deleteButton" class="iconButton disabled">
                <i class="iconfont icon-icon27">&nbsp;</i>${message("admin.common.delete")}
            </a>
            <a href="javascript:" id="refreshButton" class="iconButton">
                <i class="iconfont icon-shuaxin1">&nbsp;</i>${message("admin.common.refresh")}
            </a>
            <div class="menuWrap">
                <a href="javascript:" id="pageSizeSelect" class="button">
				${message("admin.page.pageSize")}<span class="arrow">&nbsp;</span>
                </a>
                <div class="popupMenu">
                    <ul id="pageSizeOption">
                        <li>
                            <a href="javascript:"[#if page.pageSize == 10] class="current"[/#if] val="10">10</a>
                        </li>
                        <li>
                            <a href="javascript:"[#if page.pageSize == 20] class="current"[/#if] val="20">20</a>
                        </li>
                        <li>
                            <a href="javascript:"[#if page.pageSize == 50] class="current"[/#if] val="50">50</a>
                        </li>
                        <li>
                            <a href="javascript:"[#if page.pageSize == 100] class="current"[/#if] val="100">100</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="menuWrap">
            <div class="search">
                <span id="searchPropertySelect" class="arrow">&nbsp;</span>
                <input type="text" id="searchValue" name="searchValue" value="${page.searchValue}" maxlength="200" />
                <button type="submit">&nbsp;</button>
            </div>
            <div class="popupMenu">
                <ul id="searchPropertyOption">
                    <li>
                        <a href="javascript:"[#if page.searchProperty == "name"] class="current"[/#if] val="attn">公司名</a>
                    </li>
                    <li>
                        <a href="javascript:"[#if page.searchProperty == "attn"] class="current"[/#if] val="attn">联系人</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <table id="listTable" class="list">
        <tr>
            <th class="check">
                <input type="checkbox" id="selectAll" />
            </th>
            <th>
                <a href="javascript:" class="sort" name="member.username">用户</a>
            </th>
            <th>
                <a href="javascript:" class="sort" name="name">公司名</a>
            </th>
            <th>
                <a href="javascript:" class="sort" name="attn">联系人</a>
            </th>
            <th>
                <a href="javascript:" class="sort" name="email">邮箱</a>
            </th>
            <th>
                <a href="javascript:" class="sort" name="phone">联系电话</a>
            </th>
            <th>
                <a href="javascript:" class="sort" name="address">地址</a>
            </th>
            <th>
                <span>${message("admin.common.handle")}</span>
            </th>
        </tr>
	[#list page.content as enterprise_service]
        <tr>
            <td>
                <input type="checkbox" name="ids" value="${enterprise_service.id}" />
            </td>
            <td>
			${(enterprise_service.member.username)!"-"}(${(enterprise_service.member.name)!"-"})
            </td>
            <td>
			${enterprise_service.name}
            </td>
            <td>
			${enterprise_service.attn}
            </td>
            <td>
			${enterprise_service.email}
            </td>
            <td>
			${enterprise_service.phone}
            </td>
            <td>
			${enterprise_service.address}
            </td>
            <td>
                <a href="view.htm?id=${enterprise_service.id}"><i class="iconfont icon-sou view-icon"></i></a>
            </td>
        </tr>
	[/#list]
    </table>
[@pagination pageNumber = page.pageNumber totalPages = page.totalPages]
	[#include "/admin/include/pagination.ftl"]
[/@pagination]
</form>
</body>
</html>
